﻿@using Janus.Mes.VO
@model CalendarVO
@{
    Layout = null;
    string curYear = DateTime.Now.Year.ToString();
    string nextYear = (DateTime.Now.Year + 1).ToString();
    ViewBag.ViewTitle = "复制-工作日历";
}
<div class="pageContent">
    <form method="post" action="BaseData/Calendar/Copy?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <p>
                <label>
                    年份：
                </label>
                <select id="sltYearCopy" class="required" ref="sltWorkCCodeCopy" refUrl="BaseData/Calendar/GetHasCalenderList?selectyear={value}">
                    <option value="@curYear">@curYear</option>
                    <option value="@nextYear">@nextYear</option>
                </select>
            </p>
            <p>
                <label>
                    源：
                </label>
                <select id="sltWorkCCodeCopy" class="required">
                    <option value="">@HelperCommon.SelectDefaultValue</option>
                </select>
            </p>
            <p>
                <label>
                    目标：
                </label>
                <select class="required" name="test3" style="width:155px;">
                    <option value=""></option>
                    <option value="2016">BU1工作中心</option>
                    <option value="2017">BU2工作中心</option>
                </select>
            </p>
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>


